package codetype.bean;

import codetype.annotation.CodeType;
import lombok.*;

import java.util.List;

/**
 * @author zhanghui145
 * @date 2021/12/28 18:57
 * @since 1.0.0
 */
@Builder
@Getter
@Setter
public class Test {

    private String name;

    @CodeType(type = "100001")
    private String gender;

    private Integer age;

    private List<Test> tests;

    @Override
    public String toString() {
        return "{" +
                "name='" + name + '\'' +
                ", gender='" + gender + '\'' +
                ", age=" + age +
                '}';
    }
}
